package com.jydw.da.frame.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jydw.da.frame.pojo.User;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author userRoot
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    int batchInsert(@Param("list") List<User> list);

    int insertOrUpdate(User record);

    int insertOrUpdateSelective(User record);

    User selectJoinRole(int userId);
}